package com.henme.crm.entity.admin;

import com.google.common.collect.Sets;
import com.henme.crm.util.entity.BaseEntity;

import java.util.Set;

public class Role  extends BaseEntity {
    private String name;
    private String showName;
    //角色拥有的资源
    private Set<Authority> authorities = Sets.newHashSet();
    private boolean checked;
    public Set<Authority> getAuthorities() {
        return authorities;
    }
    public String getName() {
        return name;
    }
    public String getShowName() {
        return showName;
    }
    public boolean isChecked() {
        return checked;
    }
    public void setAuthorities(Set<Authority> authorities) {
        this.authorities = authorities;
    }
    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void setShowName(String showName) {
        this.showName = showName;
    }

}

